From f5f80b40c36b647d5069b16736c08384cce31a11 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 22 Dec 2015 13:33:43 -0500 Subject: [PATCH] Fix GtkFrame padding This was showing up in the app-notification in widget-factory. --- gtk/gtkframe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkframe.c b/gtk/gtkframe.c index 41b094840c..b83317869a 100644 --- a/gtk/gtkframe.c +++ b/gtk/gtkframe.c @@ -875,7 +875,7 @@ gtk_frame_real_compute_child_allocation (GtkFrame *frame, GtkAllocation allocation; gint border_width, height; - gtk_widget_get_allocation (widget, &allocation); + gtk_css_gadget_get_content_allocation (priv->gadget, &allocation, NULL); border_width = gtk_container_get_border_width (GTK_CONTAINER (frame)); if (priv->label_widget) -- 2.30.2